//
//  blogViewController.h
//  NewIMGII
//
//  Created by 步遴 李 on 12-5-1.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//
#define kImgIIAppKey @"3404471793"
#define kImgIIAppSecret @"265dce2dbb8163c5e49bd637f271c9e2"
#import <QuartzCore/QuartzCore.h>
#import <UIKit/UIKit.h>
#import "Blog.h"
#import "WBEngine.h"
#import "WBSendView.h"

@interface blogViewController : UIViewController<UIWebViewDelegate,WBEngineDelegate,WBSendViewDelegate>
{
    UIWebView *postContentView;
    NSString *str;
    NSString *fpath;
    NSString *resourcePath;
    UIToolbar *commtentbar;
    UIBarButtonItem *commtent,*share;
    UIView *comLayer;
    CGPoint centerPoint;
    UITableView* commtable;
    Boolean comOpen;
    NSInteger picCount;
    WBEngine* wbengine;
}
@property (nonatomic,assign) NSInteger picCount;
@property (strong, nonatomic) IBOutlet UIToolbar *commtentbar;
@property (strong, nonatomic) IBOutlet UIBarButtonItem *commtent;
@property (strong, nonatomic) IBOutlet UIBarButtonItem *share;
@property (strong, nonatomic) Blog *blog;
@property (strong, nonatomic) NSString *str;
@property (readwrite, nonatomic, retain) NSOperationQueue *operationQueue;
@property (strong, nonatomic) IBOutlet UIWebView *postContentView;
@property (strong, nonatomic) WBEngine* wbengine;



-(IBAction)EditComment:(id)sender;
-(IBAction)shareBlog:(id)sender;
-(void)showBigImage:(NSString *)imageName;
-(void)LoadPage;
@end
